<?php /* Smarty version 2.6.16, created on 2007-05-16 14:29:21
         compiled from /home/.batly/roamzero/Framework/Site/Peopletab/Templates/Default/templates/Profile/CpProfile.tpl */ ?>
<div id="subNav">
<?php echo $this->_tpl_vars['cpProfileNav']; ?>

</div>
<?php if ($this->_tpl_vars['form']['errors']): ?>
    <center><h4>Errors with the submission!</h4></center>
<?php endif;  if ($this->_tpl_vars['formResponse']): ?>
	<div id="formResponse"><?php echo $this->_tpl_vars['formResponse']; ?>
</div>
<?php endif; ?>
<div class="blockCP">
<form <?php echo $this->_tpl_vars['form']['attributes']; ?>
>
<?php echo $this->_tpl_vars['form']['hidden']; ?>

<table width="100%" id="profileTable" align="center">
<?php $_from = $this->_tpl_vars['formFields']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['item']):
?>
<tr class="profileTableHead">
<td valign="center" align="left" width="50%">
<b><?php echo $this->_tpl_vars['form'][$this->_tpl_vars['item']]['value']['label']; ?>
</b>
</td>
<td valign="top" align="right">
Privacy: <?php echo $this->_tpl_vars['form'][$this->_tpl_vars['item']]['valuePrivacy']['html']; ?>

</td>
</tr>


<tr>
<td valign="top" align="left" colspan="2">
<?php if ($this->_tpl_vars['form'][$this->_tpl_vars['item']]['error']): ?><span class="errorMessage"><?php echo $this->_tpl_vars['form'][$this->_tpl_vars['item']]['error']; ?>
</span><br /><?php endif; ?>
<?php echo $this->_tpl_vars['form'][$this->_tpl_vars['item']]['value']['html']; ?>
<br />
</td>
</tr>


<?php endforeach; endif; unset($_from); ?>
<tr>
<td valign="top" align="center" colspan="2">
<?php echo $this->_tpl_vars['form']['btnSubmit']['html']; ?>

</td>
</tr>
</table>

</form>
</div>